qui(
    function (require, exports, module) {
        live2VOD.Action = (function () {
            var listGrid = null;
            var editForm = null;
            // 表格

            function listRun(){
                if (!listGrid) {
                    listGrid = new live2VOD.Grid($.extend(true, {
                        '$container': $('#QueryContainer'),
                        type: 0
                    }, {}));
                }
                listGrid.runList();
                console.log('list grid run');
            }

            function editRun(){
                if(editForm == null){
                    editForm = new live2VOD.Edit($.extend(true, {
                        '$form': $('form[role=form]')
                    }, {}));
                    editForm.init();
                }
                console.log(' editRun ');
            }

            return {
                listRun:listRun,
                editRun:editRun
            }
        })();
    }
);